using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._3DAnalystTools._TerrainDataset
{
    /// <summary>
    /// <para>Remove Feature Class From Terrain</para>
    /// <para>Removes reference to a feature class participating in a terrain dataset.</para>
    /// <para>移除对参与 terrain 数据集的要素类的引用。</para>
    /// </summary>    
    [DisplayName("Remove Feature Class From Terrain")]
    public class RemoveFeatureClassFromTerrain : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public RemoveFeatureClassFromTerrain()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_terrain">
        /// <para>Input Terrain</para>
        /// <para>The terrain dataset to process.</para>
        /// <para>要处理的 terrain 数据集。</para>
        /// </param>
        /// <param name="_feature_class">
        /// <para>Input Feature Class</para>
        /// <para>The feature class to be removed.</para>
        /// <para>要移除的要素类。</para>
        /// </param>
        public RemoveFeatureClassFromTerrain(object _in_terrain, object _feature_class)
        {
            this._in_terrain = _in_terrain;
            this._feature_class = _feature_class;
        }
        public override string ToolboxName => "3D Analyst Tools";

        public override string ToolName => "Remove Feature Class From Terrain";

        public override string CallName => "3d.RemoveFeatureClassFromTerrain";

        public override List<string> AcceptEnvironments => ["autoCommit", "scratchWorkspace", "workspace"];

        public override object[] ParameterInfo => [_in_terrain, _feature_class, _derived_out_terrain];

        /// <summary>
        /// <para>Input Terrain</para>
        /// <para>The terrain dataset to process.</para>
        /// <para>要处理的 terrain 数据集。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Terrain")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_terrain { get; set; }


        /// <summary>
        /// <para>Input Feature Class</para>
        /// <para>The feature class to be removed.</para>
        /// <para>要移除的要素类。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Feature Class")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _feature_class { get; set; }


        /// <summary>
        /// <para>Updated Input Terrain</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Updated Input Terrain")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _derived_out_terrain { get; set; }


        public RemoveFeatureClassFromTerrain SetEnv(int? autoCommit = null, object scratchWorkspace = null, object workspace = null)
        {
            base.SetEnv(autoCommit: autoCommit, scratchWorkspace: scratchWorkspace, workspace: workspace);
            return this;
        }

    }

}